package contact

import (
	"context"
)

type GfyxOpTelViewHistoryReposIface interface {
	SaveOpTelViewHistory(ctx context.Context, data *GfyxOpTelViewHistory) error
	GetOpTelViewHistory(ctx context.Context, telNumber string, createGUID string) (*GfyxOpTelViewHistory, error)
	GetOpTelViewHistoryBatch(ctx context.Context, telNumber []string, createGUID string) (map[string]int32, error)
	UpdateViewTimes(ctx context.Context, telNumber string, createdGUID string) (bool, error)
	GetCurrentMonthViewTimes(ctx context.Context, createGUID string, monthStart string, monthEnd string) (int64, error)
}
